/**
 * 
 */
let hrRegisterVue = new Vue({
	el:'#hrRegister',
	data:{
		bnameList:[],
		bnameS:''//被选择的企业
	},
	created(){
		this.getBname();
	},
	methods:{
		toBussr(){
			window.location.href="http://localhost:8082/hrt/registerBuss"
		},
		getBname(){
			axios.post('/manager/getbname').then(resp=>{
				if(resp!==null){
					this.bnameList = resp.data;
				}
			}).catch();
		},
		submitBname(bname){
			sessionStorage.setItem("bname",bname);
			window.location.href = 'http://localhost:8082/hrt/r';
		}
	}
});